package sdw.ufal.p3.entity;


import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Column;

import org.hibernate.annotations.Entity;
import gov.tjpr.entity.PersistableEntity;

@Entity
@Table(name="processo")
public abstract class Processo implements PersistableEntity<Long>{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/** numero do processo */
	@Id
	@Column(name = "id")
	private Long id;

	@Column(name = "descricao")
	private String descricao;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public void setDescricao(String descricao) {
		this.descricao = descricao;
	}

	public String getDescricao() {
		return descricao;
	}

	

}
